package pers.lance.mvcrest.plus.plus.dao;

import pers.lance.mvcrest.plus.plus.pojo.Book;

import java.util.List;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 6:35 PM 7/26/2018
 */
public interface BookDao {
    Book insert(Book book);

    Book update(Book book);

    Book delete(Book book);

    Book findById(String id);

    List<Book> findAll();
}
